GET data/list/{name}/{section}/{pageNumber}/{pageSize}
Get paginated list of data for a section.
Request Information
URI
https://highlandfleets-dev-api.xaitcpq.net/data/list/{name}/{section}/{pageNumber}/{pageSize}?filters[0]={filters[0]}&filters[1]={filters[1]}&operators[0]={operators[0]}&operators[1]={operators[1]}&values[0]={values[0]}&values[1]={values[1]}&groups[0]={groups[0]}&groups[1]={groups[1]}&sortField={sortField}&sortDirection={sortDirection}&baseRecord={baseRecord}&share={share}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name |
Page name. |
string |
Required |
section |
Section Name or Id. |
string |
Required |
filters |
The filters. |
Collection of string |
Required |
operators |
Filter operators. |
Collection of Operator |
Required |
values |
Filter values. |
Collection of string |
Required |
groups | Collection of integer |
Required |
|
pageNumber |
Page number. |
integer |
Default value is 1 |
pageSize |
Maximum number of rows to return. |
integer |
Default value is 20 |
sortField |
Field to sort by. |
string |
None. |
sortDirection |
Direction to sort (asc or desc) |
SortDirection |
None. |
baseRecord |
Base record Id |
string |
None. |
share |
Optional share identifier. |
globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
List of Data.
RowDataContainerName | Description | Type | Additional information |
---|---|---|---|
IdField | globally unique identifier |
None. |
|
CurrencyField | globally unique identifier |
None. |
|
LinkTableName | string |
None. |
|
Data | Collection of RowData |
None. |
|
TotalRecords | integer |
None. |
|
PageNumber | integer |
None. |
|
PageSize | integer |
None. |
|
SortBy | string |
None. |
|
SortDirection | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IdField": "6d7cd98a-2d2c-47f9-82a2-fc03d7030d16", "CurrencyField": "d5459295-d880-42f3-bdd6-d54beba7a250", "LinkTableName": "sample string 2", "Data": null, "TotalRecords": 3, "PageNumber": 4, "PageSize": 5, "SortBy": "sample string 6", "SortDirection": "sample string 7" }
text/html
Sample:
{"IdField":"6d7cd98a-2d2c-47f9-82a2-fc03d7030d16","CurrencyField":"d5459295-d880-42f3-bdd6-d54beba7a250","LinkTableName":"sample string 2","Data":null,"TotalRecords":3,"PageNumber":4,"PageSize":5,"SortBy":"sample string 6","SortDirection":"sample string 7"}
application/xml, text/xml
Sample:
<RowDataContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <PageNumber>4</PageNumber> <PageSize>5</PageSize> <SortBy>sample string 6</SortBy> <SortDirection>sample string 7</SortDirection> <TotalRecords>3</TotalRecords> <CurrencyField>d5459295-d880-42f3-bdd6-d54beba7a250</CurrencyField> <Data i:nil="true" /> <IdField>6d7cd98a-2d2c-47f9-82a2-fc03d7030d16</IdField> <LinkTableName>sample string 2</LinkTableName> </RowDataContainer>